<style>
*{margin:0; padding:0;}
body{font-size:12px; font-family:"宋体";}
#test_over{width:595px; margin:20px auto;}
#test_over_top{width:595px; height:116px; background:url(/images/tests/t01.jpg) no-repeat;}
#test_over_cont{width:595px; background:url(/images/tests/t02.jpg) repeat-y; border-bottom:1px solid #a4d5f6;}
#test_user{width:400px; height:20px; line-height:20px; text-align:center; border:2px solid #a4d5f6; margin:0 auto; font-weight:500;}
#test01{width:550px; margin:40px auto;  line-height:2;}
#test02{width:550px; margin:40px auto;  line-height:2;}
#test03{width:550px; margin:40px auto;  line-height:2;}
#test04{width:550px; margin:40px auto;  line-height:2;}
#test04 p{text-align:center;}
#test01 span,#test02 span,#test03 span,#test04 span{font-size:14px; color:#0066FF; font-weight:600;}
</style>
<div id="test_over" style="padding: 5px 5px 5px 5px">
  <div id="test_report">
	  <div id="test_over_top">
	  </div>
		  <div id="test_over_cont">
			  <div id="test_user">
				 测试名称 　检测时间：
			  </div>
			  <div id="test01">
				  <span>测试结果分析(在全部测试中得分最高的倾向)：</span><br/>
				  <p>
                  <% trend_id=@all_trends_results[2].trend_id%>
                  <% trend=TrendScale.find(trend_id)%>
                  最高得分倾向是：<%=trend.name%><br/>
                  倾向分析：<%=trend.explanation%><br/>
                  我们的建议：<%=trend.solution%>
          </p>
			  </div>
			  <div id="test02">
          <span>测试结果(显示每一部分测试的每一种倾向的得分情况)：</span><br/>
				  <p>
            <table border="1">
            列表<%=@pt_original_results[0].size.to_s%>
            </table>
          </p>
			  </div>
			  <!--图表显示-->
		    <div id="test03">
				  <span>倾向比例：</span><br />
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="500" id="Column3D" >
                 <param name="movie" value="/charts/FCF_Column2D.swf" />
                 <param name="FlashVars" value="&dataURL&chartWidth=400&chartHeight=300">
                 <param name="quality" value="high" />
                 <embed src="/charts/FCF_Column2D.swf" flashVars="&dataURL&chartWidth=400&chartHeight=300"
                          quality="high" width="400" height="300" name="Column3D"
                          type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
              </object>
        </div>
			  <div id="test04">
			    <span>您的测试分析(分析测试结果中每一部分的得分最高的倾向)：</span><br />
          <br/>
           <%  i = 1%>
           <% for tr_or_r in @trend_original_results%>
           <% trend=TrendScale.find(tr_or_r.trend_id)
        report=Report.find(:first, :conditions => "part_id = "+tr_or_r.part_id.to_s+" and trend_scales_id="+tr_or_r.trend_id.to_s+"") %>
             <font size="8"color="0206EB">第&nbsp;<%=i %>&nbsp;部分&nbsp;</font><br />
             <font size="8" color="#C19361"> 您的结果 : </font><%=report.description%><br />
              <font size="8" color="#9123F8">     我们给您的建议</font> <%=report.solution%><br />
                <%i = i +1%><hr />
            <% end  %>
			  </div>
		  </div>
	</div>
</div>





<%=link_to '看看其他的测试' , :action=>"index"%>
